/*
 * SetupComplete.h
 *
 *  Created on: 24-01-2011
 *      Author: Eter
 */

#ifndef SETUPCOMPLETE_H_
#define SETUPCOMPLETE_H_

#include "./Command.h"
#include "../GameLogic/Objects/GameObject.h"
#include "../GameLogic/Simulation.h"

#include "../Core/PvN.h"

namespace Commands {

/*
 * Sprawia, ze gra przechodzi w stan gsIngame.
 */
class SetupComplete : public Command {
	unsigned char player_id_;
	char secret_;
	unsigned char team_;
	GameLogic::Objects::GameObject::IdType object_id_;
	bool is_local_;
public:

	SetupComplete();

	void execute( GameLogic::Simulation* s );

	void serialize( std::ostringstream& s );

};

} //namespace Commands

#endif /* SETUPCOMPLETE_H_ */
